<UserControl x:Class="_videoConference.GenerateModule"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Height="Auto" Width="Auto">

  <Canvas Height="Auto" Width="Auto" Name="canvasmain" Background="Transparent">

    <InkCanvas Background="Transparent" EditingMode="None" Name="inkcontainer" Height="35" Width="{Binding Width,ElementName=canvasmain}" Canvas.Top="0" Canvas.Left="0">
      <Label Height="25" HorizontalAlignment="Left" InkCanvas.Left="10" InkCanvas.Top="5" Name="lbllayout" VerticalAlignment="Top" Width="86" Foreground="White">Design Layout: </Label>
      <Label Height="25" InkCanvas.Left="90" InkCanvas.Top="5" Name="lblpgname" HorizontalAlignment="Left" VerticalAlignment="Top" Foreground="White">Page Name</Label>


      <Label Height="25" HorizontalAlignment="Left" InkCanvas.Left="220" InkCanvas.Top="5" Name="lblModuleName" VerticalAlignment="Top" Width="86" Foreground="White">Module Name</Label>
      <ComboBox Width="210" Height="24" InkCanvas.Left="305" InkCanvas.Top="5"  Name="cmbModuleName" VerticalAlignment="Top" Background="#1A1A1A" Foreground="#EEEEEE">

      </ComboBox>


      <Label Height="30" HorizontalAlignment="Left" InkCanvas.Left="520" InkCanvas.Top="5" Name="lblMTitle"  Width="70" Foreground="White">Title</Label>
      <TextBox Height="25" InkCanvas.Left="550" InkCanvas.Top="5" Width="130" Name="textBox1" Background="#1A1A1A" Foreground="#EEEEEE" ></TextBox>
      <Button Foreground="White" Height="25"  InkCanvas.Top="5" InkCanvas.Left="685" Name="btnAdd"  Width="75" Click="btnadd" Content="Add">
        <Button.Background>
          <LinearGradientBrush StartPoint="0,0.5" EndPoint="1,0.5">
            <GradientStop Color="#737373" Offset="0.51428571428571427"/>
            <GradientStop Color="#595959" Offset="0.11428571428571427"/>
            <LinearGradientBrush.RelativeTransform>
              <RotateTransform Angle="90"></RotateTransform>
            </LinearGradientBrush.RelativeTransform>
          </LinearGradientBrush>
        </Button.Background>
      </Button>

      <Button Height="25" InkCanvas.Top="5" InkCanvas.Left="765" Name="btnUpdate"  Width="75" Content="Update" Foreground="White">
        <Button.Background>
          <LinearGradientBrush StartPoint="0,0.5" EndPoint="1,0.5">
            <GradientStop Color="#737373" Offset="0.51428571428571427"/>
            <GradientStop Color="#595959" Offset="0.11428571428571427"/>
            <LinearGradientBrush.RelativeTransform>
              <RotateTransform Angle="90"></RotateTransform>
            </LinearGradientBrush.RelativeTransform>
          </LinearGradientBrush>
        </Button.Background>
      </Button>
      <Button Height="25" Width="75" InkCanvas.Top="5" InkCanvas.Left="845" Name="btnCancel" Content="Cancel" Foreground="White">
        <Button.Background>
          <LinearGradientBrush StartPoint="0,0.5" EndPoint="1,0.5">
            <GradientStop Color="#737373" Offset="0.51428571428571427"/>
            <GradientStop Color="#595959" Offset="0.11428571428571427"/>
            <LinearGradientBrush.RelativeTransform>
              <RotateTransform Angle="90"></RotateTransform>
            </LinearGradientBrush.RelativeTransform>
          </LinearGradientBrush>
        </Button.Background>
      </Button>

    </InkCanvas>

    <InkCanvas Background="Transparent"  Name="cnvMain" Width="{Binding Width,ElementName=canvasmain}" Height="Auto" EditingMode="None" Canvas.Top="35" MouseMove="cnvMain_MouseMove" PreviewMouseUp="cnvMain_PreviewMouseUp" PreviewMouseDown="cnvMain_PreviewMouseDown" />

  </Canvas>
</UserControl>
